git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 15 Feb 2025 10:20:09 +0000 (11:20 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 15 Feb 2025 10:20:09 +0000 (11:20 +0100)
commit9aeb3fe0f7fd24d7ad93b57438867ebf3c0441f1
tree8506555a3e9576ec5cc65e1c44f74c599a6b84d2
parent2161f225ff7fe7ec3d07d35e3c5320b0feb12307
git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703

commit 49449cbb3580bbdfb2e17fb5140db54496928219
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Sep 20 13:10:54 2024 +0200

    iconv: Do not use mmap in iconv (the program) (bug 17703)

    On current systems, very large files are needed before
    mmap becomes beneficial.  Simplify the implementation.

    This exposed that inptr was not initialized correctly in
    process_fd.  Handling multiple input files resulted in
    EFAULT in read because a null pointer was passed.  This
    could be observed previously if an input file was not
    mappable and was reported as bug 17703.

Reviewed-by: DJ Delorie <dj@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-iconv-Do-not-use-mmap-in-iconv-the-program-bug-17703.patch
iconv/iconv_prog.c